/**
 * output package name
 */
package com.kingdee.eas.zssh.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ContractTypeEnum extends StringEnum
{
    public static final String NEWS_VALUE = "10";
    public static final String OLD_VALUE = "20";

    public static final ContractTypeEnum News = new ContractTypeEnum("News", NEWS_VALUE);
    public static final ContractTypeEnum Old = new ContractTypeEnum("Old", OLD_VALUE);

    /**
     * construct function
     * @param String contractTypeEnum
     */
    private ContractTypeEnum(String name, String contractTypeEnum)
    {
        super(name, contractTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ContractTypeEnum getEnum(String contractTypeEnum)
    {
        return (ContractTypeEnum)getEnum(ContractTypeEnum.class, contractTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ContractTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ContractTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ContractTypeEnum.class);
    }
}